<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
    <title>Does Google Work?</title>
    <link rel="stylesheet" type="text/css" href="fitweb.css"/>
    <script type="text/javascript" src="support.js"></script>
</head>
<body>
<h1 class="title" onclick="toggle();" >Does Google Work?</h1>

<h2>Some setup:</h2>
<table class="setup pageFixture">
    <tr>
        <td>org.fitweb.fixture.WebFixture</td>
    </tr>
</table>
<table class="setup">
    <tr>
        <td>define element</td>
        <td class="name">Google Search Box</td>
        <td>as</td>
        <td>//input[@title='Google Search']</td>
    </tr>
    <tr>
        <td>define element</td>
        <td class="name">Google Search Button</td>
        <td>as</td>
        <td>//input[@value='Google Search']</td>
    </tr>
</table>
<h2>And the test:</h2>
<table>
    <tr>
        <td>browse</td>
        <td>http://www.google.co.uk/</td>
    </tr>

</table>
<table>
    <tr>
        <td>into</td>
        <td class="name">Google Search Box</td>
        <td>enter</td>
        <td class="value">fitweb code TDD</td>
    </tr>
</table>
<table>
    <tr>
        <td>click</td>
        <td class="name">Google Search Button</td>
    </tr>
</table>
<table>
    <tr>
        <td>assert</td>
        <td class="name">Page</td>
        <td>contains</td>
        <td class="value">FIT + WebDriver = TDD for web applications</td>
    </tr>
</table>
<table>
    <tr>
        <td  class="name">summary</td>
    </tr>
</table>
</body>
</html>